home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: ODDesLst.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODDescList_h
- #define SOM_ODDescList_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODDescList
- #define ODDescList SOMObject
- #endif
- #include <ODDesc.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef ODObject
- #define ODObject SOMObject
- #endif /* ODObject */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODDesc
- #define ODDesc SOMObject
- #endif /* ODDesc */
- #ifndef ODDescList
- #define ODDescList SOMObject
- #endif /* ODDescList */
-
- /*
- * End of user-defined types.
- */
-
- #define ODDescList_MajorVersion 1
- #define ODDescList_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODDescListClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define ODDescList_classObj somNewClassReference(ODDescList)
- #define _ODDescList ODDescList_classObj
- #define ODDescListCClassData ODDescListClassData
- #define ODDescListNewClass(major,minor) somNewVersionedClassReference(ODDescList,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define ODDescListMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODDescListClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitODDescList;
- } SOMDLINK ODDescListClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(ODDescList_Class_Source) && !defined(SOM_Module_oddeslst_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list ODDescListClassData
- #endif
- #endif
-
-
- /*
- * New macro for ODDescList
- */
- #define ODDescListNew() somNewObject(ODDescList)
-
- /*
- * New Method: InitODDescList
- */
- typedef void (SOMLINK *somTD_ODDescList_InitODDescList)(ODDescList *somSelf, Environment *ev);
- #define somMD_ODDescList_InitODDescList "::ODDescList::InitODDescList"
- #define ODDescList_InitODDescList(somSelf,ev) \
- (SOM_Resolve(somSelf, ODDescList, InitODDescList) \
- (somSelf,ev))
- #ifndef SOMGD_InitODDescList
- #if (defined(_InitODDescList) || defined(__InitODDescList))
- #undef _InitODDescList
- #undef __InitODDescList
- #define SOMGD_InitODDescList 1
- #else
- #define _InitODDescList ODDescList_InitODDescList
- #endif /* _InitODDescList */
- #endif /* SOMGD_InitODDescList */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODDescList_InitODDesc ODDesc_InitODDesc
- #define ODDescList_SetDescType ODDesc_SetDescType
- #define ODDescList_SetRawData ODDesc_SetRawData
- #define ODDescList_GetDescType ODDesc_GetDescType
- #define ODDescList_GetRawData ODDesc_GetRawData
- #define ODDescList_somUninit SOMObject_somUninit
- #define ODDescList_InitObject ODObject_InitObject
- #define ODDescList_HasExtension ODObject_HasExtension
- #define ODDescList_AcquireExtension ODObject_AcquireExtension
- #define ODDescList_ReleaseExtension ODObject_ReleaseExtension
- #define ODDescList_Purge ODObject_Purge
- #define ODDescList_IsEqualTo ODObject_IsEqualTo
- #define ODDescList_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODDescList_somInit SOMObject_somInit
- #define ODDescList_somUninit SOMObject_somUninit
- #define ODDescList_somInit SOMObject_somInit
- #define ODDescList_somUninit SOMObject_somUninit
- #define ODDescList_somDuplicateReference SOMObject_somDuplicateReference
- #define ODDescList_somCompareReference SOMObject_somCompareReference
- #define ODDescList_somRelease SOMObject_somRelease
- #define ODDescList_somFree SOMObject_somFree
- #define ODDescList_somCanDelete SOMObject_somCanDelete
- #define ODDescList_somGetClass SOMObject_somGetClass
- #define ODDescList_somGetClassName SOMObject_somGetClassName
- #define ODDescList_somGetSize SOMObject_somGetSize
- #define ODDescList_somIsA SOMObject_somIsA
- #define ODDescList_somRespondsTo SOMObject_somRespondsTo
- #define ODDescList_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODDescList_somDispatch SOMObject_somDispatch
- #define ODDescList_somClassDispatch SOMObject_somClassDispatch
- #define ODDescList_somCastObj SOMObject_somCastObj
- #define ODDescList_somResetObj SOMObject_somResetObj
- #define ODDescList_somPrintSelf SOMObject_somPrintSelf
- #define ODDescList_somDumpSelf SOMObject_somDumpSelf
- #define ODDescList_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODDescList_h */
-